﻿namespace Digitalmes.Domain.Enums;

/// <summary>
/// 工单状态枚举。
/// </summary>
[Description("工单状态")]
public enum WoStatusEnum
{
    /// <summary>
    /// 初始化
    /// </summary>
    [Description("初始化")] 
    Initial = 0,

    /// <summary>
    /// 已审核
    /// </summary>
    [Description("已审核")] 
    Approved = 1,

    /// <summary>
    /// 已排产
    /// </summary>
    [Description("已排产")] 
    Scheduled = 2,

    /// <summary>
    /// 已下发
    /// </summary>
    [Description("已下发")] 
    Issued = 3,

    /// <summary>
    /// 生产中
    /// </summary>
    [Description("生产中")] 
    InProgress = 4,

    /// <summary>
    /// 已完工
    /// </summary>
    [Description("已完工")] 
    Completed = 5,

    /// <summary>
    /// 已关闭
    /// </summary>
    [Description("已关闭")]
    Closed = 6,

    /// <summary>
    /// 已挂起
    /// </summary>
    [Description("已挂起")]
    Suspended = 7,

    /// <summary>
    /// 已冻结
    /// </summary>
    [Description("已冻结")]
    Frozen = 8,
}
